#ifndef IRLOCATE_H
#define IRLOCATE_H

#include "../CommandBase.h"
#include "../Subsystems/lifter.h"
#include "../Subsystems/conveyer.h"
#include "../Subsystems/irsensors.h"

class IRlocate: public CommandBase {

public:
	bool firing;
	IRlocate();
	void IRlocateAuton();
	void Initialize();
	void Execute();
	bool IsFinished();
	void End();
	void Interrupted();
	int GetState();
	enum state_t {kEmpty=0,kBall1=1,kBall2=2,kBall3=3,kLoading1=4,kLoading2=5,kLoading2_2=6,kLoading3=7,kFiring1=8,kFiring2=9,kFiring2_2=10,kFiring3=11,kFiring3_2=12,kFiring3_3=13,kAutonAdjust=14,kAutonFiring=15} state;
};

#endif
